package com.example.wxy.bbtapp.Receivers;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.example.wxy.bbtapp.Service.ServiceBus;
import com.example.wxy.bbtapp.Startup.AppSettings;

/**
 * Created by yons on 2017/9/18.
 */

public class TimerReceiver extends BroadcastReceiver {
    public final static String ACTION_SEND = "bbtapp.Service.ACTION_SEND";

    @Override
    public void onReceive(Context context, Intent intent) {
        try
        {
            ServiceBus.DoRecord(context);
        }
        catch (Exception e)
        {
            Log.v(AppSettings.DebugTag, "DoRecord Error:" + e.getMessage());
        }

    }
}
